package com.foreknow.demo6;

public class Worker extends Employee {
    double dressAllawance;
    public double getDressALLawance(){
        return dressAllawance;
    }

    public static void main(String[] args) {
        Worker w = new Worker();
        w.name = "w1";
        w.birth = "2020-2-12";
        w.salary = 888.88;
        w.dressAllawance = 100;
        w.getDetail();
        w.getSalary();
    }
}
